From 9672e3bd57797d545885f4aa6eea85c55624a9ca Mon Sep 17 00:00:00 2001 From: Dirk Gadsden Date: Fri, 8 Jan 2016 14:40:02 -0800 Subject: [PATCH] Add publish command to list of commands in help text --- src/bin/cargo.rs | 1 + src/etc/cargo.1 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/bin/cargo.rs b/src/bin/cargo.rs index cd4e7204a..72db84d25 100644 --- a/src/bin/cargo.rs +++ b/src/bin/cargo.rs @@ -48,6 +48,7 @@ Some common cargo commands are: bench Run the benchmarks update Update dependencies listed in Cargo.lock search Search registry for crates + publish Package and upload this project to the registry install Install a Rust binary See 'cargo help ' for more information on a specific command. diff --git a/src/etc/cargo.1 b/src/etc/cargo.1 index 94ff90af0..64e215d1d 100644 --- a/src/etc/cargo.1 +++ b/src/etc/cargo.1 @@ -65,6 +65,9 @@ Update dependencies in Cargo.lock \fBcargo package\fR Generate a source tarball for the current package .TP +\fBcargo publish\fR +Package and upload this project to the registry +.TP \fBcargo uninstall\fR Remove a Rust binary .TP -- 2.30.2